import Vue from 'vue'

const getComponents = require.context('@/components/globalComponents', true, /\.vue$/)
const componentPath = getComponents.keys().forEach(item => {
  const componentName = getComponents(item).default
  Vue.component(componentName.name, componentName)
})
